﻿<phone:PhoneApplicationPage 
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
	xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
	xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="800"
	x:Class="RoncatoTest.FriendsManager"
	FontFamily="{StaticResource PhoneFontFamilyNormal}"
	FontSize="{StaticResource PhoneFontSizeNormal}"
	Foreground="{StaticResource PhoneForegroundBrush}"
	SupportedOrientations="Portrait" Orientation="Portrait"
	shell:SystemTray.IsVisible="True"
    xmlns:local="clr-namespace:RoncatoTest"
    local:TiltEffect.IsTiltEnabled="True">

	<!--LayoutRoot è la griglia radice in cui viene inserito tutto il contenuto della pagina-->
	<Grid x:Name="LayoutRoot" Background="Transparent">
		<!--Controllo pivot-->
		<controls:Pivot Title="MY APPLICATION">
			<!--Elemento pivot 1-->
			<controls:PivotItem x:Name="AllFriends" Header="All Friends">
				<Grid>
					<Button x:Name="Operation" Content="Add" Margin="8,8,8,0" VerticalAlignment="Top" Background="{x:Null}"/>
					<ListBox x:Name="FriendList" Margin="8,84,8,8" SelectionMode="Multiple"/>
				</Grid>
			</controls:PivotItem>

 			<!--Elemento pivot 2-->
			<controls:PivotItem x:Name="AddedFriends" Header="Added Friends">
				<Grid>
					<Button x:Name="RemoveOperation" Content="Remove" Margin="8,8,8,0" VerticalAlignment="Top"/>
					<ListBox x:Name="AddedList" Margin="8,80,8,8" SelectionMode="Multiple"/>
				</Grid>
			</controls:PivotItem>
			<controls:PivotItem x:Name="OtherFriends" Header="Other Friends">
				<Grid>
					<Button Content="Add" Margin="8,8,8,0" VerticalAlignment="Top" Background="Transparent"/>
					<ListBox Margin="8,84,8,8" SelectionMode="Multiple"/>
				</Grid>
			</controls:PivotItem>
		</controls:Pivot>
	</Grid>
</phone:PhoneApplicationPage>